package org.jeecgframework.web.system.pojo.base;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;

/**   
 * @Title: Entity
 * @Description: 安装包管理
 * @author onlineGenerator
 * @date 2016-10-08 16:11:43
 * @version V1.0   
 *
 */
@Entity
@Table(name = "cbs_install_package", schema = "")
@SuppressWarnings("serial")
public class CbsInstallPackageEntity implements java.io.Serializable {
	/**id*/
	private java.lang.String id;
	/**文件记录表ID*/
	private ZyFileLogEntity fileLogId;
	/**安装包类型*/
	private java.lang.String packageType;
	/**安装包版本*/
	private java.lang.String version;
	
	/**createName*/
	private java.lang.String createName;
	/**createDate*/
	private java.util.Date createDate;
	/**createBy*/
	private java.lang.String createBy;
	/**updateName*/
	private java.lang.String updateName;
	/**updateDate*/
	private java.util.Date updateDate;
	/**updateBy*/
	@Excel(name="updateBy")
	private java.lang.String updateBy;
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  id
	 */
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name ="ID",nullable=false,length=32)
	public java.lang.String getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  id
	 */
	public void setId(java.lang.String id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  文件记录表ID
	 */
	@ManyToOne
	@JoinColumn(name="file_log_id")
	public ZyFileLogEntity getFileLogId() {
		return fileLogId;
	}
	
	/**
	 * @param 设置 fileLogId
	 */
	public void setFileLogId(ZyFileLogEntity fileLogId) {
		this.fileLogId = fileLogId;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  安装包类型
	 */
	@Column(name ="PACKAGE_TYPE",nullable=true,length=100)
	public java.lang.String getPackageType(){
		return this.packageType;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  安装包类型
	 */
	public void setPackageType(java.lang.String packageType){
		this.packageType = packageType;
	}
	
	/**
	 * @return 获取 版本
	 */
	@Column(name ="version",nullable=true,length=100)
	public java.lang.String getVersion() {
		return version;
	}

	/**
	 * @param 设置 版本
	 */
	public void setVersion(java.lang.String version) {
		this.version = version;
	}

	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  createName
	 */
	@Column(name ="CREATE_NAME",nullable=true,length=50)
	public java.lang.String getCreateName(){
		return this.createName;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  createName
	 */
	public void setCreateName(java.lang.String createName){
		this.createName = createName;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  createDate
	 */
	@Column(name ="CREATE_DATE",nullable=true)
	public java.util.Date getCreateDate(){
		return this.createDate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  createDate
	 */
	public void setCreateDate(java.util.Date createDate){
		this.createDate = createDate;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  createBy
	 */
	@Column(name ="CREATE_BY",nullable=true,length=50)
	public java.lang.String getCreateBy(){
		return this.createBy;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  createBy
	 */
	public void setCreateBy(java.lang.String createBy){
		this.createBy = createBy;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  updateName
	 */
	@Column(name ="UPDATE_NAME",nullable=true,length=50)
	public java.lang.String getUpdateName(){
		return this.updateName;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  updateName
	 */
	public void setUpdateName(java.lang.String updateName){
		this.updateName = updateName;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  updateDate
	 */
	@Column(name ="UPDATE_DATE",nullable=true)
	public java.util.Date getUpdateDate(){
		return this.updateDate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  updateDate
	 */
	public void setUpdateDate(java.util.Date updateDate){
		this.updateDate = updateDate;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  updateBy
	 */
	@Column(name ="UPDATE_BY",nullable=true,length=50)
	public java.lang.String getUpdateBy(){
		return this.updateBy;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  updateBy
	 */
	public void setUpdateBy(java.lang.String updateBy){
		this.updateBy = updateBy;
	}
}
